package com.shuwei.location.wificollect;

import com.shuwei.location.db.Id;

import java.io.Serializable;

/**
 * WiFi信息单元
 * Created by Halohoop on 2017/10/19.
 */

public class WifiItem implements Serializable {

    @Id(autoincrement = true)
    private long _id;

    private String ssid;
    private String bssid;//mac
    private Integer rssi;//信号强度

    public long get_id() {
        return _id;
    }

    public void set_id(long _id) {
        this._id = _id;
    }

    public String getSsid() {
        return ssid;
    }

    public void setSsid(String ssid) {
        this.ssid = ssid;
    }

    public String getBssid() {
        return bssid;
    }

    public void setBssid(String bssid) {
        this.bssid = bssid;
    }

    public Integer getRssi() {
        return rssi;
    }

    public void setRssi(Integer rssi) {
        this.rssi = rssi;
    }

    @Override
    public String toString() {
        return bssid +
                "\t" + rssi +
                "\t";
    }
}
